﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Windows;
using SABnzbdNET.Model;

namespace SABnzbdNET.ViewModels
{
    public class AddTaskViewModel : INotifyPropertyChanged
    {
        public ServerInfo CurrentServerInfo { get { return ((App)Application.Current).CurrentServerInfo; } }

        public AddTaskViewModel()
        {

        }

        private void OnPropertyChanged(string propertyName)
        {
            if (PropertyChanged != null)
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
        }

        public event PropertyChangedEventHandler PropertyChanged;
    }
}
